<?php 


namespace app\admin\model;
use think\Model;
class Member extends Model{
    public function setNameAttr($value){
        return trim($value);
    }
    public function setPwdAttr($value){
        return md5($value);
    }

    public function getGidAttr($value){
      $gid = ['hello','超级管理员','区域经理','业务员','保洁员','维修员','QA','QA','QA','QA','QA','QA','QA','QA','QA','QA','QA','QA','QA','QA','QA','QA','QA','QA','QA','QA','QA','QA','QA','QA','QA','QA','QA','QA','QA','QA','QA','QA','QA','QA','QA','QA','QA'];
			return $gid[$value];;
    }


}